import request from '@/utils/request'

// 查询店铺信息变更记录列表
export function listShopInfoChange(query) {
  return request({
    url: '/order/shopInfoChange/list',
    method: 'get',
    params: query
  })
}

// 查询店铺信息变更记录详细
export function getShopInfoChange(shopChangeId) {
  return request({
    url: '/order/shopInfoChange/' + shopChangeId,
    method: 'get'
  })
}

// 新增店铺信息变更记录
export function addShopInfoChange(data) {
  return request({
    url: '/order/shopInfoChange',
    method: 'post',
    data: data
  })
}

// 修改店铺信息变更记录
export function updateShopInfoChange(data) {
  return request({
    url: '/order/shopInfoChange',
    method: 'put',
    data: data
  })
}

// 删除店铺信息变更记录
export function delShopInfoChange(shopChangeId) {
  return request({
    url: '/order/shopInfoChange/' + shopChangeId,
    method: 'delete'
  })
}
